package com.bluesky.jwf.component.event;

import com.bluesky.jwf.component.Component;

public abstract class AbstractEventHandler implements EventHandler {

	@Override
	public void handle(Component target, Object parameter,
			EventHandler onComplete) {
		handle(target, parameter);
		if (onComplete != null)
			onComplete.handle(target, null);

	}

	@Override
	public void handle(Component target, Object parameter) {
		// do nothing

	}
}
